#pragma once
#include "pch.h"

extern "C" {
__declspec(dllexport) int LoadingInfo(int session);
__declspec(dllexport) int EventInit(char* path);
__declspec(dllexport) int EventEnable();
__declspec(dllexport) int EventStop(int type);
__declspec(dllexport) int EventLogin(LPCSTR robot_wxid, LPCSTR robot_name, int type, LPCSTR msg);
__declspec(dllexport) int EventGroupMsg(LPCSTR robot_wxid, int type, LPCSTR from_wxid, LPCSTR from_name,
                                        LPCSTR final_from_wxid, LPCSTR final_from_name, LPCSTR to_wxid,
                                        LPCSTR msg);
__declspec(dllexport) int EventFriendMsg(LPCSTR robot_wxid, int type, LPCSTR from_wxid, LPCSTR from_name,
                                         LPCSTR to_wxid, LPCSTR msg);
__declspec(dllexport) int EventReceivedTransfer(LPCSTR robot_wxid, LPCSTR from_wxid, LPCSTR from_name,
                                                LPCSTR to_wxid, LPCSTR money, LPCSTR json_msg);

__declspec(dllexport) int EventScanCashMoney(LPCSTR robot_wxid, LPCSTR pay_wxid, LPCSTR pay_name,
                                             LPCSTR money, LPCSTR json_msg);

__declspec(dllexport) int EventFriendVerify(LPCSTR robot_wxid, LPCSTR from_wxid, LPCSTR from_name,
                                            LPCSTR to_wxid, LPCSTR json_msg);

__declspec(dllexport) int EventContactsChange(LPCSTR robot_wxid, int type, LPCSTR from_wxid, LPCSTR from_name,
                                              LPCSTR msg);

__declspec(dllexport) int EventGroupMemberAdd(LPCSTR robot_wxid, LPCSTR from_wxid, LPCSTR from_name,
                                              LPCSTR json_msg);

__declspec(dllexport) int EventGroupMemberDecrease(LPCSTR robot_wxid, LPCSTR from_wxid, LPCSTR from_name,
                                                   LPCSTR json_msg);

__declspec(dllexport) int EventSysMsg(LPCSTR robot_wxid, int type, LPCSTR json_msg);

__declspec(dllexport) int Menu();
}
